<template>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
        <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div><div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
     <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    <div>
        商户列表：{{number}}
        <el-button @click="add">添加</el-button>
        <el-button @click="get">获取</el-button>
    </div>
    </div>
    
</template>
<script>
import { vercode } from '@/api/login'
export default {
    name:'Info',
    mounted () {
       this.get()
    },
    methods:{
        add(){
            this.number++
        },
        get(){
            vercode().then(res=>{
                console.log(res);
                
            })
        }
    },
    data(){
        return{
            number:1
        }
    }
}
</script>